<form method="post" action="<?php echo base_url().'index.php/login'?>" style="width: 50%; margin: 10px auto">
    <fieldset class="full-border">
        <legend>LOGIN</legend>
        <span class="error"><?php if(isset($error)) echo $error;?></span>
        <dl>
    		<dt>Username:</dt>
    		<dd><input style="min-width: 30%" type="text" name="user"/></dd>
    	</dl>
    	<dl>
    		<dt>Password:</dt>
    		<dd><input style="min-width: 30%" type="password" name="pass"/></dd>
    	</dl>
    	<dl><input type="submit" name="login" value="Login"/></dl>
    </fieldset>
</form>